<!DOCTYPE html>
<html>
<body onload="document.getElementById('p2').style.position = 'fixed';">

<p style="right: 1em; bottom: 1em; position: fixed;">Foo</p>
<p id="p2">Bar</p>

</body>
</html>
